home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / paws19.zip / PAWSDEMO.BAT < prev    next >
DOS Batch File  |  1988-12-20  |  8KB  |  234 lines

  1. echo off 
  2. cls 
  3. echo.
  4. echo                           ╔═══════════════════════════╗ 
  5. echo                           ║           PAWS            ║ 
  6. echo                           ║       version 1.9         ║
  7. echo                           ╚═══════════════════════════╝ 
  8. echo                             Demonstration Batch file 
  9. if not exist paws.exe goto no_paws 
  10. echo. 
  11. echo. 
  12. echo. 
  13. echo. 
  14. echo                                Why just use this: 
  15. pause 
  16. echo. 
  17. echo. 
  18. echo. 
  19. echo                              When you can have this: 
  20. echo. 
  21. echo. 
  22. echo. 
  23. echo. 
  24. paws /W10 /c13 /b15 
  25. cls 
  26. paws Good $N, welcome to PAWS!/W30 /C30 /B30 /T20
  27. cls
  28. echo             ╔══════════════════════════════════════════════════════╗ 
  29. echo             ║     This batch file will demonstrate several modes   ║ 
  30. echo             ║  of PAWS.  Of course, to show all the ways PAWS can  ║ 
  31. echo             ║  be used would take hours, for PAWS is only limited  ║ 
  32. echo             ║                 by your imagination.                 ║ 
  33. echo             ╚══════════════════════════════════════════════════════╝ 
  34. echo. 
  35. echo. 
  36. paws /W15 
  37. cls 
  38. echo                      ╔═════════════════════════════════════╗ 
  39. echo                      ║   PAWS has 2 basic display modes    ║ 
  40. echo                      ╚═════════════════════════════════════╝ 
  41. echo. 
  42. echo. 
  43. echo. 
  44. echo. 
  45. paws On a line all by itself...Press any key for the other mode 
  46. paws or in a WINDOW!...Press any key to continue /W15 
  47. cls 
  48. echo                     ╔═══════════════════════════════════════╗ 
  49. echo                     ║       PAWS also will make noise       ║ 
  50. echo                     ║ NOTE:  Let the cycle run through once ║ 
  51. echo                     ║         before pressing a key         ║ 
  52. echo                     ╚═══════════════════════════════════════╝ 
  53. echo. 
  54. paws I Can use any tone you want /s1000 
  55. echo. 
  56. paws Here is a lower one /s100 
  57. echo. 
  58. echo. 
  59. paws Here is middle "C" /s524 /W11 
  60. cls 
  61. echo                         ╔══════════════════════════════╗ 
  62. echo                         ║   PAWS can also be in color  ║ 
  63. echo                         ║    256 colors are available  ║ 
  64. echo                         ╚══════════════════════════════╝ 
  65. echo. 
  66. paws Press any key to see my color chart! /s2000 
  67. paws /c? 
  68. echo. 
  69. paws Press any to for more! /W78 /c79 /b77 
  70. :less 
  71. cls 
  72. echo                      ╔════════════════════════════════════╗ 
  73. echo                      ║ If you don't want your batch files ║ 
  74. echo                      ║          to wait forever,          ║ 
  75. echo                      ║     You can set PAWS to TIMEOUT    ║ 
  76. echo                      ║        don't press any key,        ║ 
  77. echo                      ║ wait 10 seconds for PAWS to TimeOut║ 
  78. echo                      ╚════════════════════════════════════╝ 
  79. echo. 
  80. echo. 
  81. paws Wait for me to Timeout /T10 
  82. if errorlevel 1 goto more 
  83. goto less 
  84. :more 
  85. paws /w144 
  86. cls 
  87. echo             ╔══════════════════════════════════════════════════════╗ 
  88. echo             ║     PAWS can be used in a batch file menu system     ║ 
  89. echo             ╚══════════════════════════════════════════════════════╝ 
  90. :menu 
  91. echo. 
  92. echo. 
  93. echo. 
  94. echo                         A...Word Processing 
  95. echo                         B...Spread Sheet 
  96. echo                         C...Games 
  97. echo                         D...Quit 
  98. echo. 
  99. :again 
  100. paws Enter Your Choice /Kabcd 
  101. if errorlevel 68 goto quit 
  102. if errorlevel 67 goto games 
  103. if errorlevel 66 goto spread 
  104. if errorlevel 65 goto word 
  105. goto again 
  106. :word 
  107. cls 
  108. echo You are in the Word Processing Section 
  109. echo. 
  110. paws 
  111. cls 
  112. goto menu 
  113. :spread 
  114. cls 
  115. echo You are in the Spread Sheet Section 
  116. echo. 
  117. paws 
  118. cls 
  119. goto menu 
  120. :games 
  121. cls 
  122. echo You are in the games section 
  123. echo. 
  124. paws 
  125. cls 
  126. goto menu 
  127. :quit 
  128. echo. 
  129. echo. 
  130. echo. 
  131. paws /W13 
  132. cls 
  133. echo               ╔═══════════════════════════════════════════════════╗ 
  134. echo               ║     PAWS can also be the center of attraction     ║ 
  135. echo               ╚═══════════════════════════════════════════════════╝ 
  136. echo. 
  137. echo. 
  138. paws Press any key to see me in the middle 
  139. paws /X0 /W40 /c14 
  140. cls 
  141. echo          ╔═══════════════════════════════════════════════════════════╗ 
  142. echo          ║  PAWS can be told to remember what the screen looked like ║ 
  143. echo          ╚═══════════════════════════════════════════════════════════╝ 
  144. echo. 
  145. dir /w 
  146. echo. 
  147. paws 
  148. paws /X1 /W15 /C13 
  149. echo. 
  150. echo                 ╔═══════════════════════════════════════════════╗ 
  151. echo                 ║          See, Just as you left it             ║ 
  152. echo                 ╚═══════════════════════════════════════════════╝ 
  153. echo. 
  154. echo. 
  155. echo. 
  156. paws 
  157. cls
  158. echo                   ╔═══════════════════════════════════════════╗ 
  159. echo                   ║  PAWS can also handle very long lines.    ║ 
  160. echo                   ║  PAWS will only display 68 characters on  ║ 
  161. echo                   ║  the screen at any one time.  With strings║ 
  162. echo                   ║  longer than 68 characters, the whole     ║ 
  163. echo                   ║  message will not be displayed at once,   ║ 
  164. echo                   ║        but it will all be displayed.      ║ 
  165. echo                   ╚═══════════════════════════════════════════╝
  166. echo.
  167. echo.
  168. echo.
  169. echo.
  170. paws Now is the time for all good computers to demonstrate PAWS to the best of their circuit's ability /W10 /C14
  171. cls
  172. echo                   ╔═══════════════════════════════════════════╗ 
  173. echo                   ║  PAWS Can also tell the time, date, DOS   ║ 
  174. echo                   ║  version, current drive, current path,    ║ 
  175. echo                   ║  the day and the contents of any          ║ 
  176. echo                   ║          environment variable.            ║ 
  177. echo                   ╚═══════════════════════════════════════════╝ 
  178. echo.
  179. echo.
  180. echo.
  181. paws The Time is $T...Press any key /W46 /C10 /B10
  182. paws Your DOS version is $v /W31 /C31 /B31
  183. paws It is the $y day of the year /W46 /C11 /B11
  184. paws It is now $U /W30 /C31 /B31
  185. paws Another way of looking at it is $V$f /W30 /C31 /B31
  186. paws Today is $V$W or $V$W/W95 /C94 /B94
  187. paws The current Directory is $p /W75 /C75 /B75
  188. paws The current drive is $n: /W10 /C15
  189. REM You must use $%%env%% in a batch file, $%env% on the command line
  190. paws Your PATH is $%%path%% /W11 /C14
  191. cls
  192. echo               ╔════════════════════════════════════════════════════╗ 
  193. echo               ║  You can stack many system variables in one prompt ║ 
  194. echo               ╚════════════════════════════════════════════════════╝ 
  195. echo.
  196. echo.
  197. echo.
  198. echo.
  199. paws The current drive is $n:, The current directory is $p, Your path is $%%path%% /W14 /C10
  200. cls
  201. echo                ╔══════════════════════════════════════════════════╗ 
  202. echo                ║  Would You like to view the PAWS Documentation?  ║ 
  203. echo                ╚══════════════════════════════════════════════════╝ 
  204. echo.
  205. echo.
  206. echo.
  207. paws Please press Y or N /W11 /C14 /Kyn
  208. if errorlevel 89 goto read_doc
  209. goto no_doc
  210. :read_doc
  211. if exist pawsdoc.com paws /? 
  212. :no_doc
  213. cls 
  214. echo                   ╔═══════════════════════════════════════════╗ 
  215. echo                   ║  This concludes the PAWS batch file Demo  ║ 
  216. echo                   ╚═══════════════════════════════════════════╝ 
  217. echo. 
  218. echo. 
  219. echo. 
  220. paws /c13 
  221. paws /v 
  222. goto end 
  223. :no_paws 
  224. echo.
  225. echo.
  226. echo.
  227. echo                   ╔═══════════════════════════════════════════╗ 
  228. echo                   ║   This demonstration requires PAWS.EXE    ║ 
  229. echo                   ║       to be in the current directory      ║ 
  230. echo                   ║         Please correct and retry          ║ 
  231. echo                   ╚═══════════════════════════════════════════╝ 
  232. :end 
  233.  
  234.